#pragma once
namespace KeyAss 
{
	class XchangeKey;
	typedef std::vector<INPUT> EventQueue;

	class SeqInput
	{
		friend class HitKey;
		char gLocaleInfo[120];
		EventQueue _eq;
		XchangeKey* _key;
		HKL _hkl;
		void SendBegin();
	public:
		EventQueue& GetEQ(){return _eq;}
		XchangeKey* GetKey(){return _key;}
		HKL GetHKL(){return _hkl;}

	public:
		SeqInput(XchangeKey* key);
		~SeqInput();
		void AddVK(BYTE vk, int rep);
		void AddText( const std::string& str );
		BOOL Send();
	};

}//namepsace